/**
 * qiankun 远程组件
 */
import React, { Component } from 'react';
import { MicroAppWithMemoHistory } from 'umi';

export default function IndexPage() {
  return (
    <div>
      <MicroAppWithMemoHistory
        name="components"
        url="/testComp"
        // 传递的数据
        data={{ name: '小明' }}
      />

      <MicroAppWithMemoHistory
        name="components"
        url="/testComp2"
        // 传递的数据
        data={{ name: '小红' }}
      />

      <MicroAppWithMemoHistory
        name="components"
        url="/testComp3"
        // 传递的数据
        data={{ name: '小绿' }}
      />
    </div>
  );
}
